--------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Scott\Documents\1805 Roadmaps\Table A3 all info.log
  log type:  text
 opened on:   7 May 2018, 12:57:55

. 
. set seed X72bc52855aa6d6debd343499219bd62000043155

. 
. 
. probit vote_leemar ///
>      con con_D1 ///
>      all_info all_info_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -238.44263  
Iteration 1:   log likelihood = -206.94233  
Iteration 2:   log likelihood = -206.90119  
Iteration 3:   log likelihood = -206.90119  

Probit regression                                 Number of obs   =        344
                                                  Wald chi2(4)    =      55.17
Log likelihood = -206.90119                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         con |  -.4616568    .192599    -2.40   0.017    -.8391439   -.0841698
      con_D1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
    all_info |  -.6211069   .1041158    -5.97   0.000    -.8251701   -.4170436
 all_info_D1 |   .7920598   .1187533     6.67   0.000     .5593075    1.024812
------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       344   .482125  .7398629    -1.848     .0415      .486     1.026     1.978
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      con con_D1 ///
>      all_info all_info_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -238.44263
Iteration 1:   log likelihood =  -207.4232
Iteration 2:   log likelihood = -206.90167
Iteration 3:   log likelihood = -206.90119

Probit regression                                 Number of obs   =        344
                                                  LR chi2(4)      =          .
Log likelihood = -206.90119                       Prob > chi2     =          .

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         con |  -.4616569    .192599    -2.40   0.017    -.8391439   -.0841698
      con_D1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
    all_info |  -.6211069   .1041157    -5.97   0.000      -.82517   -.4170438
 all_info_D1 |   .7920598   .1187532     6.67   0.000     .5593077    1.024812
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 25% 50% 75% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4

. 
. 
. setx median

. setx con 1

. setx con_D1 .486

. setx all_info 0

. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |        0          0     
all_info_D1 |        0          0     
        con |        1          1     
     con_D1 |     .486         .486   
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6100307      .063211     .4869961    .7334669
            Pr(vote_l~r=1) |   .3899693     .0632111      .266533    .5130039

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(con_D1 .0415 1.026)

First Difference: con_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1282362     .0857019    -.0397596    .2924721

Simqi generated the following new variable(s): fd_con

. 
. 
. setx con_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      0            0     
all_info_D1 |      0            0     
        con |      1            1     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6709197     .0698876     .5320683    .8025935
            Pr(vote_l~r=1) |   .3290803     .0698876     .1974065    .4679317

. 
. simqi, fd(prval(1) genpr(tr_all_info_con)) changex(con 1 0 all_info 0 1)

First Difference: con 1 0 all_info 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0609388     .0777705     -.210531    .0803939

Simqi generated the following new variable(s): tr_all_info_con

. 
. 
. setx median

. setx con 0

. setx con_D1 0

. setx all_info 1

. setx all_info_D1 .486

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      1            1     
all_info_D1 |   .486           .486   
        con |      0            0     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5925325     .0298231     .5353955    .6503333
            Pr(vote_l~r=1) |   .4074675     .0298231     .3496667    .4646045

. 
. simqi, fd(prval(1) genpr(fd_all_info)) changex(all_info_D1 .0415 1.026)

First Difference: all_info_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2979125      .042188     .2167347    .3800542

Simqi generated the following new variable(s): fd_all_info

. 
. 
. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      1            1     
all_info_D1 |      0            0     
        con |      0            0     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7318585     .0327068     .6703392     .795132
            Pr(vote_l~r=1) |   .2681415     .0327068      .204868    .3296608

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_inf~n | -.0609388  .0777705 -.2582742 -.1911974 -.1655373 -.0622351  .0404744  .0677799  .2176745
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_all_info_con = fd_all_info - fd_con

. 
. tabstat dif_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all_in~n |  .1696763  .0952539 -.1495891  .0146164  .0457024  .1696669  .2907142  .3277438  .4527542
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b4

. drop fd_con-dif_all_info_con

. 
. log close
      name:  <unnamed>
       log:  C:\Users\Scott\Documents\1805 Roadmaps\Table A3 all info.log
  log type:  text
 closed on:   7 May 2018, 12:57:55
--------------------------------------------------------------------------------------------------------------------------
